package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Classname EntryOrder
 * @Description TODO
 * @Date 2020/2/24 15:34
 * @Created by ASUS
 */

public class EntryOrder implements Serializable {
    private Long id;
    private Date entryDate;
    private Date entryTime;
    private int obligation;
    private String remark;
    private List<EntryFood> entryFoods;

    public Long getId() {
        return id;
    }

    public EntryOrder(Date entryDate, Date entryTime, int obligation, String remark, List<EntryFood> entryFoods) {
        this.entryDate = entryDate;
        this.entryTime = entryTime;
        this.obligation = obligation;
        this.remark = remark;
        this.entryFoods = entryFoods;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public int getObligation() {
        return obligation;
    }

    public void setObligation(int obligation) {
        this.obligation = obligation;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<EntryFood> getEntryFoods() {
        return entryFoods;
    }

    public void setEntryFoods(List<EntryFood> entryFoods) {
        this.entryFoods = entryFoods;
    }

    public EntryOrder() {
    }

    public EntryOrder(Long id, Date entryDate, Date entryTime, int obligation, String remark, List<EntryFood> entryFoods) {
        this.id = id;
        this.entryDate = entryDate;
        this.entryTime = entryTime;
        this.obligation = obligation;
        this.remark = remark;
        this.entryFoods = entryFoods;
    }

    @Override
    public String toString() {
        return "EntryOrder{" +
                "id=" + id +
                ", entryDate=" + entryDate +
                ", entryTime=" + entryTime +
                ", obligation=" + obligation +
                ", remark='" + remark + '\'' +
                ", entryFoods=" + entryFoods +
                '}';
    }
}
